x86/spec-ctrl: Enumeration for IBPB_RET
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Jun 2022 15:18:36 +0000 (16:18 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 8 Nov 2022 17:26:08 +0000 (17:26 +0000)
commit24496558e650535bdbd22cc04731e82276cd1b3f
tree0c7e30fcd1136eed3532c8ec214c6872d3f6f1a9
parente61a78981364925a43c9cc24dc77b62ff7b93c9f
x86/spec-ctrl: Enumeration for IBPB_RET

The IBPB_RET bit indicates that the CPU's implementation of MSR_PRED_CMD.IBPB
does flush the RSB/RAS too.

This is part of XSA-422 / CVE-2022-23824.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/libs/light/libxl_cpuid.c
tools/misc/xen-cpuid.c
xen/arch/x86/spec_ctrl.c
xen/include/public/arch-x86/cpufeatureset.h